package com.tony.mindhr.service;

import com.tony.mindhr.mapper.NationMapper;
import com.tony.mindhr.model.Nation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: NationService
 * @Auther: 皮蛋布丁
 * @Date: 2021/06/14/20:19
 * @Description:
 */
@Service
public class NationService {

    @Autowired
    NationMapper nationMapper;

    /**
    * @Description: getAllNations 获取民族下拉列表
    * @Param: []
    * @return: java.util.List<com.tony.mindhr.model.Nation>
    * @Author: 皮蛋布丁
    * @Date: 2021/6/14 20:28
    */
    public List<Nation> getAllNations() {
        return nationMapper.getAllNations();
    }
}
